package com.czr.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description:
 * Author: czr
 * Version: 1.0
 * Create Date Time: 2022/2/25 17:45.
 */
@RestController
public class IndexController {

    @Value("${ksd.name}")
    private String name;

    @GetMapping(value = {"/","/index"})
    public String index() {
        return "猪脑壳干饭啦" + name;
    }

}
